This is the README describing the programs that produce the results in:
	School Closures During the 1918 Flu Pandemic
	by Philipp Ager, Katherine Eriksson, Peter Nencka, Ezra Karger, and Melissa Thomasson

To access the full-count census data needed to replicate these results, see the process outlined here:
https://www.nber.org/research/data/ancestrycom-and-ipums-complete-count-restricted-file

The project folder contains six subfolders:
	Input:   contains the auxiliary data used to produce our results
	Scripts: contains the programs that produce the results
	Log:     contains log files for the programs
	Temp:    contains intermediate datasets used in constructing results
	Figures: contains the figures for the paper
	Tables:  contains the tables for the paper

The results in our paper can be produced by running the programs in the Scripts folder in numerical order:

	01_data_cleaning_1910_1920.do:  cleans raw census microdata from 1910 and 1920.
	02_clean_closure_data.do:       cleans the hand-collected school closure data at the city level
	03_clean_mortality_data_.do:    cleans mortality data at the city level
	04_city_level_covariates.do:    constructs city-level dataset with covariates for use as predictors and controls
	05_results_shortrun.do:         estimates short-run regressions, measuring effect of school closures on school attendance
	05a_results_short_het.do:       calculates short-run results heterogeneously by student demographic group
	06_results_longrun.do:          estimates long-run regressions, measuring the effect of school closures on the adult outcomes of children
	07_results_shortrun_figures.do: constructs event study-style figures for the short-run results
	08_results_longrun_figures.do:  constructs event study-style figures for the long-run results
	09_raw_1910_1920_figure.do:     creates a raw figure comparing school attendance in cities with different timespans of school closures in 1910 and 1920 
	10_summary_table.do:            creates a summary table describing our sample
	11_process_data_maps.do:        cleans city-level covariates for mapping purposes
	12_maps.R:                      Constructs map of location of school closures across the United States


Each program contains comments describing the procedure used to produce results.

